<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>Bootstrap 101 Template</title>

  <!-- Bootstrap -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
  <link href="./css/reset.css" rel="stylesheet">
  <link href="./css/index.css" rel="stylesheet">
  <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
  <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
  <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
</head>

<body>

  <header>
    <div class="header-left">
      <div class="logo">
        <img src="./images/logo.jpg" width="100%" alt="">
      </div>
      <h2>程序开源交流社区</h2>
    </div>

  </header>

  <div class="text-center bg" id="bg">
    <img src="./images/bac.jpg" />
  </div>

  <div class="container">
    <!-- 注册 -->
    <div class="row" id="login-content" style="height:560px;">
      <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-6 col-lg-4 col-lg-offset-8">
        <div class="box">
          <form>
            <div id="pic">
              <img src="./images/step1.png" alt="" class="cartoon">
            </div>
            <h3 class="header-title">登录</h3>
            <div class="form-group">
              <input type="text" id="login-username" class="form-control" placeholder="请输入手机号或邮箱">
            </div>
            <div class="form-group">
              <input type="text" id="login-password" class="form-control" placeholder="请输入密码">
            </div>
            <div class="form-group">
              <button type="button" class="btn btn-info">登录</button>
            </div>
          </form>
          <div class="tips">
            <div class="left">
              <span class="text">没有账号</span>
              <span class="link cursor" id="go-register">注册</span>
            </div>
            <div class="right">
              <span class="link">忘记密码</span>
            </div>
          </div>
          <div class="tips">
            <span class="text">第三方账号登录</span>
          </div>
          <div class="icon-wrapper">
            <div class="icon-bac">
              <img src="./images/wechat.svg" alt="" class="icon">
            </div>
            <div class="icon-bac">
              <img src="./images/weibo.svg" alt="" class="icon">
            </div>
            <div class="icon-bac">
              <img src="./images/github.svg" alt="" class="icon">
            </div>
          </div>
          <div class="tips">
            <span class="text">注册登录即表示同意</span>
            <span class="link">用户协议</span>
            <span class="text">、</span>
            <span class="link">隐私政策</span>
          </div>
        </div>
      </div>
    </div>

    <div class="row register-center" id="register-content" style="height:560px;display: none">
      <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-6 col-lg-4 col-lg-offset-8">
        <div class="box register-box">
          <form>
            <!-- <img src="./images/step1.png" alt="" class="cartoon"> -->
            <h3 class="header-title">注册</h3>
            <div class="form-group">
              <input type="text" class="form-control" placeholder="请输入用户名">
            </div>
            <div id="phone-register">
              <div class="form-group">
                <input type="text" class="form-control" placeholder="请输入手机号">
              </div>
              <div class="form-group all">
                <input type="text" class="form-control" placeholder="请输入手机验证码">
                <button type="button" class="btn-left btn btn-sm btn-default">获取验证码</button>
              </div>
            </div>
            <div id="email-register" style="display: none">
              <div class="form-group">
                <input type="text" class="form-control" placeholder="请输入邮箱">
              </div>
              <div class="form-group all">
                <input type="text" class="form-control" placeholder="请输入邮箱验证码">
                <button type="button" class="btn-left btn btn-sm btn-default">获取验证码</button>
              </div>
            </div>
            <div>
              <span class="text change-type" id="change-type">邮箱注册</span>
            </div>
            <div class="form-group">
              <input type="text" class="form-control" placeholder="请输入密码（不少于六位）">
            </div>
            <div class="form-group">
              <button type="button" class="btn btn-info">注册</button>
            </div>
          </form>
          <div class="tips">
            <div class="text center cursor" id="go-login">已有账号登陆</div>
          </div>
          <div class="tips">
            <span class="text">第三方账号登录</span>
          </div>
          <div class="icon-wrapper">
            <div class="icon-bac">
              <img src="./images/wechat.svg" alt="" class="icon">
            </div>
            <div class="icon-bac">
              <img src="./images/weibo.svg" alt="" class="icon">
            </div>
            <div class="icon-bac">
              <img src="./images/github.svg" alt="" class="icon">
            </div>
          </div>
          <div class="tips">
            <span class="text">注册登录即表示同意</span>
            <span class="link">用户协议</span>
            <span class="text">、</span>
            <span class="link">隐私政策</span>
          </div>
        </div>
      </div>
    </div>

    <!-- 底部 -->
    <footer>
      <div class="link">
        <span>关于我们</span>
        <span>|</span>
        <span>联系我们</span>
        <span>|</span>
        <span>人才招聘</span>
        <span>|</span>
        <span>商家入驻</span>
        <span>|</span>
        <span>广告服务</span>
        <span>|</span>
        <span>程序仓库</span>
        <span>|</span>
        <span>友情链接</span>
        <span>|</span>
        <span>销售联盟</span>
        <span>|</span>
        <span>程序社区</span>
        <span>|</span>
        <span>程序公益</span>
      </div>
      <div class="sign">
        <span>Copyright © 2004-2020 程序 版权所有</span>
      </div>
    </footer>
  </div>



  <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
  <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
  <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
  <script src="./js/index.js"></script>
</body>

</html>